package com.etc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Controller
public class Emp1Controller {
	
	// RequestMapping(value="update.action", method=**.GET)
	
	@GetMapping("/{id}/update.action")
	public String update(@PathVariable("id") Integer id) {
		System.out.println(id);
		return "search";
	}
}
